#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
package ${package}.client.ui;

import com.google.gwt.user.client.ui.HTML;
import com.google.gwt.user.client.ui.HorizontalPanel;
import com.google.gwt.user.client.ui.VerticalPanel;
import ${package}.client.beans.Mail;

public class TweetPanel extends VerticalPanel{
	Mail mTweet;
	public TweetPanel(Mail pTweet){
		super();
		mTweet = pTweet;
		setWidth("100%");
		
	}
	public void initTweetPanel(){
		HorizontalPanel hPanel = new HorizontalPanel();
		//hPanel.add(new Image(mTweet.getUser().getProfileImageUrl()));

		VerticalPanel vPanel = new VerticalPanel();
		vPanel.setSpacing(1);
		vPanel.add(new HTML("<b><font color=${symbol_escape}""+mTweet.getSubject()+"${symbol_escape}">"
				+mTweet.getSender()+"</font></b>"));
		
		hPanel.add(vPanel);
		add(hPanel);
	}
}